package com.bamboo.toolbox.core.intellij.thread;

import com.intellij.openapi.progress.ProgressManager;
import com.intellij.openapi.progress.Task;


/**
 * @author luzhiqing
 * @version 1.0
 * @date 2022/10/23
 */
public class BackgroundTaskUtils {

    public static void execute(Task task) {
        ProgressManager
                .getInstance()
                .run(task);
    }
}
